bcm53xx: use -ENOENT error for TRX parser workaround patch
authorChristian Marangi <[email protected]>
Sun, 9 Nov 2025 11:55:18 +0000 (12:55 +0100)
committerChristian Marangi <[email protected]>
Sun, 9 Nov 2025 11:58:23 +0000 (12:58 +0100)
commit231bbe528d3f6ae4a43117b38c41a2f62896ce4e
treed9507de782042aa2d72b59c6f0cc97d3f6cb76a7
parent71ebc54d2a73b0bd0a7d712d472df9c01ace74f2
bcm53xx: use -ENOENT error for TRX parser workaround patch

Change return value from -EINVAL to -ENOENT for the TRX parser
workaround patch as it's better suited and it's the common exit error
for parser failing parsing for expected condition (partition not init,
zero partition found in the schema, magic values not matching)

Also this is needed for a pending upstream patch that will permit parser
to fail and be skipped for subpartitions only with the -ENOENT error.

Signed-off-by: Christian Marangi <[email protected]>
target/linux/bcm53xx/patches-6.6/140-mtd-parsers-trx-parse-firmware-MTD-partitions-only.patch